﻿using System;
using System.ServiceModel;

using Sunyi.Project.WebPoint.DataContract;

namespace Sunyi.Project.WebPoint.ServiceContract
{
    [ServiceContract(Namespace = "http://Sunyi.Project.WebPoint.ServiceContract/IRoleService")]
    public interface IRoleService
    {
        [OperationContract]
        Role GetRole(Guid roleId);

        [OperationContract]
        void UpdateRole(Role role);
    }
}
